Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version v0.3.4: Long TXs support, NVM storage, Settings submenu, fixes. #5

Closed
wants to merge 10 commits into from

Conversation

vldmkr
Copy link

@vldmkr vldmkr commented Feb 19, 2023

Description

Features:

  • Use the maximum SRAM capacity to store transactions for each Ledger model.
  • Create a "Settings" step in the menu.
    • Create data types for the NVM storage.
    • Add the "Show Full Message" option.
    • Move the "Version" info to the "About" submenu.
  • Version bump to 0.3.4.

Fixes:

  • Fix a problem with signing short messages.
  • Add a string length check defining well-known transaction types.
  • CI: Explicitly specify the ledger-app-builder version.
  • Get rid of the "app-boilerplate" legacy.

Changes include

  • Bugfix (non-breaking change that solves an issue)
  • New feature (non-breaking change that adds functionality)
  • Breaking change (change that is not backwards-compatible and/or changes current functionality)
  • Tests
  • Documentation
  • Other (for changes that might not fit in any category)

@codecov-commenter
Copy link

Codecov Report

Base: 63.83% // Head: 63.97% // Increases project coverage by +0.13% 🎉

Coverage data is based on head (384f5e9) compared to base (8fcc195).
Patch coverage: 68.75% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop       #5      +/-   ##
===========================================
+ Coverage    63.83%   63.97%   +0.13%     
===========================================
  Files           13       13              
  Lines          777      780       +3     
===========================================
+ Hits           496      499       +3     
  Misses         281      281              
Flag Coverage Δ
unittests 63.97% <68.75%> (+0.13%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
src/apdu/parser.c 100.00% <ø> (ø)
src/transaction/deserialize.c 48.58% <64.28%> (+0.29%) ⬆️
src/transaction/utils.c 100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Comment on lines +43 to +52
switch (idx) {
case MENU_SHOW_FULL_MSG:
ux_menulist_init_select(0,
show_full_message_getter,
show_full_message_selector,
N_storage.settings.show_full_message);
break;
default:
ui_menu_main();
}

Check notice

Code scanning / CodeQL

No trivial switch statements

This switch statement should either handle more cases, or be rewritten as an if statement.
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is designed for the future, when more options are available.

@vldmkr vldmkr closed this Feb 28, 2023
tdejoigny-ledger pushed a commit that referenced this pull request Mar 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants